﻿using System;
using OA.DBUtility;

namespace OA.Model
{
	/// <summary>
	/// ProjectIncome:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
    [MappingTable("ProjectIncome")]
	public partial class ProjectIncomeInfo
	{
		public ProjectIncomeInfo()
		{}
		#region Model
		private int _id;
		private int? _paybackid;
		private string _company;
		private decimal? _income;
		private decimal? _totalincome;
		private DateTime? _billtime;
		private decimal? _billamount;
		/// <summary>
		/// 
		/// </summary>
        [DataField("Id")]
        [PrimaryKey(PKBuildType.AutoIncrease)]
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("PaybackId")]
		public int? PaybackId
		{
			set{ _paybackid=value;}
			get{return _paybackid;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("Company")]
		public string Company
		{
			set{ _company=value;}
			get{return _company;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("Income")]
		public decimal? Income
		{
			set{ _income=value;}
			get{return _income;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("TotalIncome")]
		public decimal? TotalIncome
		{
			set{ _totalincome=value;}
			get{return _totalincome;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("BillTime")]
		public DateTime? BillTime
		{
			set{ _billtime=value;}
			get{return _billtime;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("BillAmount")]
		public decimal? BillAmount
		{
			set{ _billamount=value;}
			get{return _billamount;}
		}

        [DataField("InternalType")]
        public int InternalType { get; set; }
		#endregion Model

	}
}

